package org.zjvis.datascience.service.mapper;

import org.springframework.stereotype.Component;
import org.zjvis.datascience.common.dto.gis.GisTabsDTO;

import java.util.List;

@Component
public interface GisTabsMapper {
    List<GisTabsDTO> queryTabsByProjectId(Long id);

    List<String> queryTabNamesByProjectId(Long id);

    boolean save(GisTabsDTO tab);

    boolean deleteTabByIds(Long tabId);

    GisTabsDTO queryTabInfoById(Long tabId);

    GisTabsDTO queryGisTabInfoById(Long tabId);

    boolean update(GisTabsDTO tab);

    boolean copyTab(Long tabId);

    Long getMaxId(Long userId);

    Long getPreviouslyBindId(Long projectId);

}
